#pragma once

#include "GatterTyp.h"

class FlipFlop : public GatterTyp
{
public:
	FlipFlop(void);
	~FlipFlop(void);

	bool getIsFlipFlop();
	short getSetupTime();
	short getHoldTime();
	short getLastKapazitaetClock();
	short getClockInput();
	void setClockInput(short et);
	void setSetupTime(short st);
	void setHoldTime(short ht);
	void setLastKapazitaetClock(short lkc);
private:
	short clk;
	short setupTime;
	short holdTime;
	short lastKapazitaetClock;
};

